projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fec79ac
)
mpc83xx: fix global timer structure definition
author
Kim Phillips
<
[email protected]
>
Mon, 15 Aug 2011 04:09:39 +0000
(23:09 -0500)
committer
Kim Phillips
<
[email protected]
>
Thu, 3 Nov 2011 23:27:51 +0000
(18:27 -0500)
The byte address distance between GTCFR2 and GTMDR1 is 11, not 10.
Reported-by: Shawn Bai <
[email protected]
>
Acked-by: Joe Hershberger <
[email protected]
>
Signed-off-by: Kim Phillips <
[email protected]
>
arch/powerpc/include/asm/immap_83xx.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/include/asm/immap_83xx.h
b/arch/powerpc/include/asm/immap_83xx.h
index 8d4c9cb4f7d02ee567cc81a6b5079504f5686e99..2daddebe55244bd077d676f8df6eed7c1810ad18 100644
(file)
--- a/
arch/powerpc/include/asm/immap_83xx.h
+++ b/
arch/powerpc/include/asm/immap_83xx.h
@@
-113,7
+113,7
@@
typedef struct gtm83xx {
u8 cfr1; /* Timer1/2 Configuration */
u8 res0[3];
u8 cfr2; /* Timer3/4 Configuration */
- u8 res1[1
0
];
+ u8 res1[1
1
];
u16 mdr1; /* Timer1 Mode Register */
u16 mdr2; /* Timer2 Mode Register */
u16 rfr1; /* Timer1 Reference Register */